Simple_Giveaways\SG_Giveaway A

Total Complexity 57
Dependencies 6
Dependents 7
Total lines 458
Lines of code 195
Logical lines of code 100
Comment lines 182
Methods 31
Properties 6

Methods 31

Method Rating Maintainability Complexity Lines of code
has_ended()
S
55 5 21
get_settings()
S
55 5 20
get_subscriber()
S
60 4 14
has_started()
S
60 3 14
add_subscriber()
S
60 3 12
set_post()
S
63 3 10
get_schedule()
S
66 3 8
get_text_settings()
S
75 2 4
get_total_entries()
S
67 2 8
supports()
S
68 2 7
get_schedule_settings()
S
75 2 4
get_general_settings()
S
75 2 4
get_display_settings()
S
75 2 4
get_prize_settings()
S
75 2 4
get_header_message()
S
82 1 3
get_style_href()
S
78 1 3
get_template_file()
S
73 1 5
has_custom_registration_flow()
S
82 1 3
get_template_path()
S
75 1 4
get_template_name()
S
75 1 4
__construct()
S
81 1 3
get_end_statuses()
S
67 1 10
get_post()
S
82 1 3
get_type()
S
82 1 3
get_id()
S
82 1 3
subscriber_exists()
S
79 1 3
is_collecting_entries()
S
79 1 3
get_not_open_reason()
S
82 1 3
is_open_to_subscribe()
S
79 1 3
showing_subscriber_page()
S
79 1 3
custom_registration_flow()
S
91 1 2